<%@page contentType="text/html" pageEncoding="UTF-8" session="false"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="contextPath" value="${pageContext.servletContext.contextPath}"/>
<!doctype html>
<html lang="nl">
	<head>
	    <link rel="stylesheet" href="${contextPath}/styles/default.css"/> 
		<title>Prijs verhogen</title>
	</head>
	<body>
		<h1>Prijsverhoging</h1>
		<form action="<c:url value='/artikels/prijsVerhogen.htm'/>" method="post" id="prijsverhogingform">
			<label>Percentage:
				<input name="percentage" value="${param.percentage}" type="number" autofocus/></label>
			<input type="submit" value="Verhoog prijzen" id="verhoogknop"/>
		</form>
		<c:import url="/WEB-INF/JSP/fouten.jsp"/>
		<script>
	      document.getElementById('toevoegform').onsubmit= function() {        
	    	 document.getElementById('toevoegknop').disabled=true;
	      };
		</script>	
	</body>
</html>